<?php
namespace app\index\controller;


/**
 * 群组相关操作
 * Class Group
 * @package app\index\controller
 */
class Group extends Base
{
    /**
     * 新增群组
     * @throws \GuzzleHttp\Exception\GuzzleException
     */
    public function add_group()
    {
        try{
            $res = \Services\CloudOpen\Group::getInterface() ->add_group('测试群组','http://www.baidu.com/aaa.jpg','群组的描述',2,3,3);
        }catch (\Throwable $exception){
            dump($exception);
        }
        dump($res);

    }
}